package com.itcncp.ucenter.dao.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ItcsTerminalInfoExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public ItcsTerminalInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTerminalNoIsNull() {
            addCriterion("terminal_no is null");
            return (Criteria) this;
        }

        public Criteria andTerminalNoIsNotNull() {
            addCriterion("terminal_no is not null");
            return (Criteria) this;
        }

        public Criteria andTerminalNoEqualTo(Long value) {
            addCriterion("terminal_no =", value, "terminalNo");
            return (Criteria) this;
        }

        public Criteria andTerminalNoNotEqualTo(Long value) {
            addCriterion("terminal_no <>", value, "terminalNo");
            return (Criteria) this;
        }

        public Criteria andTerminalNoGreaterThan(Long value) {
            addCriterion("terminal_no >", value, "terminalNo");
            return (Criteria) this;
        }

        public Criteria andTerminalNoGreaterThanOrEqualTo(Long value) {
            addCriterion("terminal_no >=", value, "terminalNo");
            return (Criteria) this;
        }

        public Criteria andTerminalNoLessThan(Long value) {
            addCriterion("terminal_no <", value, "terminalNo");
            return (Criteria) this;
        }

        public Criteria andTerminalNoLessThanOrEqualTo(Long value) {
            addCriterion("terminal_no <=", value, "terminalNo");
            return (Criteria) this;
        }

        public Criteria andTerminalNoIn(List<Long> values) {
            addCriterion("terminal_no in", values, "terminalNo");
            return (Criteria) this;
        }

        public Criteria andTerminalNoNotIn(List<Long> values) {
            addCriterion("terminal_no not in", values, "terminalNo");
            return (Criteria) this;
        }

        public Criteria andTerminalNoBetween(Long value1, Long value2) {
            addCriterion("terminal_no between", value1, value2, "terminalNo");
            return (Criteria) this;
        }

        public Criteria andTerminalNoNotBetween(Long value1, Long value2) {
            addCriterion("terminal_no not between", value1, value2, "terminalNo");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdIsNull() {
            addCriterion("toll_road_id is null");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdIsNotNull() {
            addCriterion("toll_road_id is not null");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdEqualTo(String value) {
            addCriterion("toll_road_id =", value, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdNotEqualTo(String value) {
            addCriterion("toll_road_id <>", value, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdGreaterThan(String value) {
            addCriterion("toll_road_id >", value, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdGreaterThanOrEqualTo(String value) {
            addCriterion("toll_road_id >=", value, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdLessThan(String value) {
            addCriterion("toll_road_id <", value, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdLessThanOrEqualTo(String value) {
            addCriterion("toll_road_id <=", value, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdLike(String value) {
            addCriterion("toll_road_id like", value, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdNotLike(String value) {
            addCriterion("toll_road_id not like", value, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdIn(List<String> values) {
            addCriterion("toll_road_id in", values, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdNotIn(List<String> values) {
            addCriterion("toll_road_id not in", values, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdBetween(String value1, String value2) {
            addCriterion("toll_road_id between", value1, value2, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdNotBetween(String value1, String value2) {
            addCriterion("toll_road_id not between", value1, value2, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andRoadsectionIdIsNull() {
            addCriterion("roadsection_id is null");
            return (Criteria) this;
        }

        public Criteria andRoadsectionIdIsNotNull() {
            addCriterion("roadsection_id is not null");
            return (Criteria) this;
        }

        public Criteria andRoadsectionIdEqualTo(String value) {
            addCriterion("roadsection_id =", value, "roadsectionId");
            return (Criteria) this;
        }

        public Criteria andRoadsectionIdNotEqualTo(String value) {
            addCriterion("roadsection_id <>", value, "roadsectionId");
            return (Criteria) this;
        }

        public Criteria andRoadsectionIdGreaterThan(String value) {
            addCriterion("roadsection_id >", value, "roadsectionId");
            return (Criteria) this;
        }

        public Criteria andRoadsectionIdGreaterThanOrEqualTo(String value) {
            addCriterion("roadsection_id >=", value, "roadsectionId");
            return (Criteria) this;
        }

        public Criteria andRoadsectionIdLessThan(String value) {
            addCriterion("roadsection_id <", value, "roadsectionId");
            return (Criteria) this;
        }

        public Criteria andRoadsectionIdLessThanOrEqualTo(String value) {
            addCriterion("roadsection_id <=", value, "roadsectionId");
            return (Criteria) this;
        }

        public Criteria andRoadsectionIdLike(String value) {
            addCriterion("roadsection_id like", value, "roadsectionId");
            return (Criteria) this;
        }

        public Criteria andRoadsectionIdNotLike(String value) {
            addCriterion("roadsection_id not like", value, "roadsectionId");
            return (Criteria) this;
        }

        public Criteria andRoadsectionIdIn(List<String> values) {
            addCriterion("roadsection_id in", values, "roadsectionId");
            return (Criteria) this;
        }

        public Criteria andRoadsectionIdNotIn(List<String> values) {
            addCriterion("roadsection_id not in", values, "roadsectionId");
            return (Criteria) this;
        }

        public Criteria andRoadsectionIdBetween(String value1, String value2) {
            addCriterion("roadsection_id between", value1, value2, "roadsectionId");
            return (Criteria) this;
        }

        public Criteria andRoadsectionIdNotBetween(String value1, String value2) {
            addCriterion("roadsection_id not between", value1, value2, "roadsectionId");
            return (Criteria) this;
        }

        public Criteria andStationIdIsNull() {
            addCriterion("station_id is null");
            return (Criteria) this;
        }

        public Criteria andStationIdIsNotNull() {
            addCriterion("station_id is not null");
            return (Criteria) this;
        }

        public Criteria andStationIdEqualTo(String value) {
            addCriterion("station_id =", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdNotEqualTo(String value) {
            addCriterion("station_id <>", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdGreaterThan(String value) {
            addCriterion("station_id >", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdGreaterThanOrEqualTo(String value) {
            addCriterion("station_id >=", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdLessThan(String value) {
            addCriterion("station_id <", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdLessThanOrEqualTo(String value) {
            addCriterion("station_id <=", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdLike(String value) {
            addCriterion("station_id like", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdNotLike(String value) {
            addCriterion("station_id not like", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdIn(List<String> values) {
            addCriterion("station_id in", values, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdNotIn(List<String> values) {
            addCriterion("station_id not in", values, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdBetween(String value1, String value2) {
            addCriterion("station_id between", value1, value2, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdNotBetween(String value1, String value2) {
            addCriterion("station_id not between", value1, value2, "stationId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdIsNull() {
            addCriterion("toll_plaza_id is null");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdIsNotNull() {
            addCriterion("toll_plaza_id is not null");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdEqualTo(String value) {
            addCriterion("toll_plaza_id =", value, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdNotEqualTo(String value) {
            addCriterion("toll_plaza_id <>", value, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdGreaterThan(String value) {
            addCriterion("toll_plaza_id >", value, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdGreaterThanOrEqualTo(String value) {
            addCriterion("toll_plaza_id >=", value, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdLessThan(String value) {
            addCriterion("toll_plaza_id <", value, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdLessThanOrEqualTo(String value) {
            addCriterion("toll_plaza_id <=", value, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdLike(String value) {
            addCriterion("toll_plaza_id like", value, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdNotLike(String value) {
            addCriterion("toll_plaza_id not like", value, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdIn(List<String> values) {
            addCriterion("toll_plaza_id in", values, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdNotIn(List<String> values) {
            addCriterion("toll_plaza_id not in", values, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdBetween(String value1, String value2) {
            addCriterion("toll_plaza_id between", value1, value2, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andTollPlazaIdNotBetween(String value1, String value2) {
            addCriterion("toll_plaza_id not between", value1, value2, "tollPlazaId");
            return (Criteria) this;
        }

        public Criteria andLaneIdIsNull() {
            addCriterion("lane_id is null");
            return (Criteria) this;
        }

        public Criteria andLaneIdIsNotNull() {
            addCriterion("lane_id is not null");
            return (Criteria) this;
        }

        public Criteria andLaneIdEqualTo(String value) {
            addCriterion("lane_id =", value, "laneId");
            return (Criteria) this;
        }

        public Criteria andLaneIdNotEqualTo(String value) {
            addCriterion("lane_id <>", value, "laneId");
            return (Criteria) this;
        }

        public Criteria andLaneIdGreaterThan(String value) {
            addCriterion("lane_id >", value, "laneId");
            return (Criteria) this;
        }

        public Criteria andLaneIdGreaterThanOrEqualTo(String value) {
            addCriterion("lane_id >=", value, "laneId");
            return (Criteria) this;
        }

        public Criteria andLaneIdLessThan(String value) {
            addCriterion("lane_id <", value, "laneId");
            return (Criteria) this;
        }

        public Criteria andLaneIdLessThanOrEqualTo(String value) {
            addCriterion("lane_id <=", value, "laneId");
            return (Criteria) this;
        }

        public Criteria andLaneIdLike(String value) {
            addCriterion("lane_id like", value, "laneId");
            return (Criteria) this;
        }

        public Criteria andLaneIdNotLike(String value) {
            addCriterion("lane_id not like", value, "laneId");
            return (Criteria) this;
        }

        public Criteria andLaneIdIn(List<String> values) {
            addCriterion("lane_id in", values, "laneId");
            return (Criteria) this;
        }

        public Criteria andLaneIdNotIn(List<String> values) {
            addCriterion("lane_id not in", values, "laneId");
            return (Criteria) this;
        }

        public Criteria andLaneIdBetween(String value1, String value2) {
            addCriterion("lane_id between", value1, value2, "laneId");
            return (Criteria) this;
        }

        public Criteria andLaneIdNotBetween(String value1, String value2) {
            addCriterion("lane_id not between", value1, value2, "laneId");
            return (Criteria) this;
        }

        public Criteria andTerminalStateIsNull() {
            addCriterion("terminal_state is null");
            return (Criteria) this;
        }

        public Criteria andTerminalStateIsNotNull() {
            addCriterion("terminal_state is not null");
            return (Criteria) this;
        }

        public Criteria andTerminalStateEqualTo(Byte value) {
            addCriterion("terminal_state =", value, "terminalState");
            return (Criteria) this;
        }

        public Criteria andTerminalStateNotEqualTo(Byte value) {
            addCriterion("terminal_state <>", value, "terminalState");
            return (Criteria) this;
        }

        public Criteria andTerminalStateGreaterThan(Byte value) {
            addCriterion("terminal_state >", value, "terminalState");
            return (Criteria) this;
        }

        public Criteria andTerminalStateGreaterThanOrEqualTo(Byte value) {
            addCriterion("terminal_state >=", value, "terminalState");
            return (Criteria) this;
        }

        public Criteria andTerminalStateLessThan(Byte value) {
            addCriterion("terminal_state <", value, "terminalState");
            return (Criteria) this;
        }

        public Criteria andTerminalStateLessThanOrEqualTo(Byte value) {
            addCriterion("terminal_state <=", value, "terminalState");
            return (Criteria) this;
        }

        public Criteria andTerminalStateIn(List<Byte> values) {
            addCriterion("terminal_state in", values, "terminalState");
            return (Criteria) this;
        }

        public Criteria andTerminalStateNotIn(List<Byte> values) {
            addCriterion("terminal_state not in", values, "terminalState");
            return (Criteria) this;
        }

        public Criteria andTerminalStateBetween(Byte value1, Byte value2) {
            addCriterion("terminal_state between", value1, value2, "terminalState");
            return (Criteria) this;
        }

        public Criteria andTerminalStateNotBetween(Byte value1, Byte value2) {
            addCriterion("terminal_state not between", value1, value2, "terminalState");
            return (Criteria) this;
        }

        public Criteria andTerminalPwdIsNull() {
            addCriterion("terminal_pwd is null");
            return (Criteria) this;
        }

        public Criteria andTerminalPwdIsNotNull() {
            addCriterion("terminal_pwd is not null");
            return (Criteria) this;
        }

        public Criteria andTerminalPwdEqualTo(String value) {
            addCriterion("terminal_pwd =", value, "terminalPwd");
            return (Criteria) this;
        }

        public Criteria andTerminalPwdNotEqualTo(String value) {
            addCriterion("terminal_pwd <>", value, "terminalPwd");
            return (Criteria) this;
        }

        public Criteria andTerminalPwdGreaterThan(String value) {
            addCriterion("terminal_pwd >", value, "terminalPwd");
            return (Criteria) this;
        }

        public Criteria andTerminalPwdGreaterThanOrEqualTo(String value) {
            addCriterion("terminal_pwd >=", value, "terminalPwd");
            return (Criteria) this;
        }

        public Criteria andTerminalPwdLessThan(String value) {
            addCriterion("terminal_pwd <", value, "terminalPwd");
            return (Criteria) this;
        }

        public Criteria andTerminalPwdLessThanOrEqualTo(String value) {
            addCriterion("terminal_pwd <=", value, "terminalPwd");
            return (Criteria) this;
        }

        public Criteria andTerminalPwdLike(String value) {
            addCriterion("terminal_pwd like", value, "terminalPwd");
            return (Criteria) this;
        }

        public Criteria andTerminalPwdNotLike(String value) {
            addCriterion("terminal_pwd not like", value, "terminalPwd");
            return (Criteria) this;
        }

        public Criteria andTerminalPwdIn(List<String> values) {
            addCriterion("terminal_pwd in", values, "terminalPwd");
            return (Criteria) this;
        }

        public Criteria andTerminalPwdNotIn(List<String> values) {
            addCriterion("terminal_pwd not in", values, "terminalPwd");
            return (Criteria) this;
        }

        public Criteria andTerminalPwdBetween(String value1, String value2) {
            addCriterion("terminal_pwd between", value1, value2, "terminalPwd");
            return (Criteria) this;
        }

        public Criteria andTerminalPwdNotBetween(String value1, String value2) {
            addCriterion("terminal_pwd not between", value1, value2, "terminalPwd");
            return (Criteria) this;
        }

        public Criteria andTerminalIpIsNull() {
            addCriterion("terminal_ip is null");
            return (Criteria) this;
        }

        public Criteria andTerminalIpIsNotNull() {
            addCriterion("terminal_ip is not null");
            return (Criteria) this;
        }

        public Criteria andTerminalIpEqualTo(String value) {
            addCriterion("terminal_ip =", value, "terminalIp");
            return (Criteria) this;
        }

        public Criteria andTerminalIpNotEqualTo(String value) {
            addCriterion("terminal_ip <>", value, "terminalIp");
            return (Criteria) this;
        }

        public Criteria andTerminalIpGreaterThan(String value) {
            addCriterion("terminal_ip >", value, "terminalIp");
            return (Criteria) this;
        }

        public Criteria andTerminalIpGreaterThanOrEqualTo(String value) {
            addCriterion("terminal_ip >=", value, "terminalIp");
            return (Criteria) this;
        }

        public Criteria andTerminalIpLessThan(String value) {
            addCriterion("terminal_ip <", value, "terminalIp");
            return (Criteria) this;
        }

        public Criteria andTerminalIpLessThanOrEqualTo(String value) {
            addCriterion("terminal_ip <=", value, "terminalIp");
            return (Criteria) this;
        }

        public Criteria andTerminalIpLike(String value) {
            addCriterion("terminal_ip like", value, "terminalIp");
            return (Criteria) this;
        }

        public Criteria andTerminalIpNotLike(String value) {
            addCriterion("terminal_ip not like", value, "terminalIp");
            return (Criteria) this;
        }

        public Criteria andTerminalIpIn(List<String> values) {
            addCriterion("terminal_ip in", values, "terminalIp");
            return (Criteria) this;
        }

        public Criteria andTerminalIpNotIn(List<String> values) {
            addCriterion("terminal_ip not in", values, "terminalIp");
            return (Criteria) this;
        }

        public Criteria andTerminalIpBetween(String value1, String value2) {
            addCriterion("terminal_ip between", value1, value2, "terminalIp");
            return (Criteria) this;
        }

        public Criteria andTerminalIpNotBetween(String value1, String value2) {
            addCriterion("terminal_ip not between", value1, value2, "terminalIp");
            return (Criteria) this;
        }

        public Criteria andTerminalMacIsNull() {
            addCriterion("terminal_mac is null");
            return (Criteria) this;
        }

        public Criteria andTerminalMacIsNotNull() {
            addCriterion("terminal_mac is not null");
            return (Criteria) this;
        }

        public Criteria andTerminalMacEqualTo(String value) {
            addCriterion("terminal_mac =", value, "terminalMac");
            return (Criteria) this;
        }

        public Criteria andTerminalMacNotEqualTo(String value) {
            addCriterion("terminal_mac <>", value, "terminalMac");
            return (Criteria) this;
        }

        public Criteria andTerminalMacGreaterThan(String value) {
            addCriterion("terminal_mac >", value, "terminalMac");
            return (Criteria) this;
        }

        public Criteria andTerminalMacGreaterThanOrEqualTo(String value) {
            addCriterion("terminal_mac >=", value, "terminalMac");
            return (Criteria) this;
        }

        public Criteria andTerminalMacLessThan(String value) {
            addCriterion("terminal_mac <", value, "terminalMac");
            return (Criteria) this;
        }

        public Criteria andTerminalMacLessThanOrEqualTo(String value) {
            addCriterion("terminal_mac <=", value, "terminalMac");
            return (Criteria) this;
        }

        public Criteria andTerminalMacLike(String value) {
            addCriterion("terminal_mac like", value, "terminalMac");
            return (Criteria) this;
        }

        public Criteria andTerminalMacNotLike(String value) {
            addCriterion("terminal_mac not like", value, "terminalMac");
            return (Criteria) this;
        }

        public Criteria andTerminalMacIn(List<String> values) {
            addCriterion("terminal_mac in", values, "terminalMac");
            return (Criteria) this;
        }

        public Criteria andTerminalMacNotIn(List<String> values) {
            addCriterion("terminal_mac not in", values, "terminalMac");
            return (Criteria) this;
        }

        public Criteria andTerminalMacBetween(String value1, String value2) {
            addCriterion("terminal_mac between", value1, value2, "terminalMac");
            return (Criteria) this;
        }

        public Criteria andTerminalMacNotBetween(String value1, String value2) {
            addCriterion("terminal_mac not between", value1, value2, "terminalMac");
            return (Criteria) this;
        }

        public Criteria andTerminalDescIsNull() {
            addCriterion("terminal_desc is null");
            return (Criteria) this;
        }

        public Criteria andTerminalDescIsNotNull() {
            addCriterion("terminal_desc is not null");
            return (Criteria) this;
        }

        public Criteria andTerminalDescEqualTo(String value) {
            addCriterion("terminal_desc =", value, "terminalDesc");
            return (Criteria) this;
        }

        public Criteria andTerminalDescNotEqualTo(String value) {
            addCriterion("terminal_desc <>", value, "terminalDesc");
            return (Criteria) this;
        }

        public Criteria andTerminalDescGreaterThan(String value) {
            addCriterion("terminal_desc >", value, "terminalDesc");
            return (Criteria) this;
        }

        public Criteria andTerminalDescGreaterThanOrEqualTo(String value) {
            addCriterion("terminal_desc >=", value, "terminalDesc");
            return (Criteria) this;
        }

        public Criteria andTerminalDescLessThan(String value) {
            addCriterion("terminal_desc <", value, "terminalDesc");
            return (Criteria) this;
        }

        public Criteria andTerminalDescLessThanOrEqualTo(String value) {
            addCriterion("terminal_desc <=", value, "terminalDesc");
            return (Criteria) this;
        }

        public Criteria andTerminalDescLike(String value) {
            addCriterion("terminal_desc like", value, "terminalDesc");
            return (Criteria) this;
        }

        public Criteria andTerminalDescNotLike(String value) {
            addCriterion("terminal_desc not like", value, "terminalDesc");
            return (Criteria) this;
        }

        public Criteria andTerminalDescIn(List<String> values) {
            addCriterion("terminal_desc in", values, "terminalDesc");
            return (Criteria) this;
        }

        public Criteria andTerminalDescNotIn(List<String> values) {
            addCriterion("terminal_desc not in", values, "terminalDesc");
            return (Criteria) this;
        }

        public Criteria andTerminalDescBetween(String value1, String value2) {
            addCriterion("terminal_desc between", value1, value2, "terminalDesc");
            return (Criteria) this;
        }

        public Criteria andTerminalDescNotBetween(String value1, String value2) {
            addCriterion("terminal_desc not between", value1, value2, "terminalDesc");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNull() {
            addCriterion("operator is null");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNotNull() {
            addCriterion("operator is not null");
            return (Criteria) this;
        }

        public Criteria andOperatorEqualTo(String value) {
            addCriterion("operator =", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotEqualTo(String value) {
            addCriterion("operator <>", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThan(String value) {
            addCriterion("operator >", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThanOrEqualTo(String value) {
            addCriterion("operator >=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThan(String value) {
            addCriterion("operator <", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThanOrEqualTo(String value) {
            addCriterion("operator <=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLike(String value) {
            addCriterion("operator like", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotLike(String value) {
            addCriterion("operator not like", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorIn(List<String> values) {
            addCriterion("operator in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotIn(List<String> values) {
            addCriterion("operator not in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorBetween(String value1, String value2) {
            addCriterion("operator between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotBetween(String value1, String value2) {
            addCriterion("operator not between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}